/**
 * Upper case first char
 * @param {number}  number
 */
export function gotozero(number) {
    return parseFloat(Number(number).toFixed(2))
}

export function ellipsis(value) {
    if (!value) return ''
    if (value.length > 12) {
        return value.slice(0, 12) + '...'
    }
    return value
}
